home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000212_news@columbia.edu _Fri Apr 21 10:36:21 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA03835
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 21 Apr 2000 10:36:21 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA15611
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 21 Apr 2000 10:36:21 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA11549
  10.     for kermit.misc@watsun.cc.columbia.edu; Fri, 21 Apr 2000 10:21:02 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: Lazy man is more productive
  14. Date: 21 Apr 2000 14:21:01 GMT
  15. Organization: Columbia University
  16. Message-ID: <8dpo4d$b8r$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <8do1ua$jjr$1@nnrp1.deja.com>,  <dat_thuc_nguyen@my-deja.com> wrote:
  20. : For long I am very frustrated of having to do a lot of typing:
  21. : C-Kermit>.avar = 19
  22. : C-Kermit>.bvar = 32
  23. : ...
  24. : After a while, if I want to know the value of avar, I have to type a
  25. : long string:
  26. : C-Kermit>echo \m(avar)
  27. You could also type: show mac avar
  28.  
  29. It's no shorter but it's easier to type.
  30.  
  31. : I decided to put an end to this nightmare by defining a display
  32. : function:
  33. : C-Kermit>def dp { echo \m(\%1) }
  34. Similarly "def dp show mac \%1"
  35.  
  36. - Frank
  37.